package ch.rheintalconnection.sysventory.technicalServices;

import java.util.ArrayList;
import java.util.List;

import ch.rheintalconnection.sysventory.dto.ComputerDto;
import ch.rheintalconnection.sysventory.dto.LogicalDiskDto;
import ch.rheintalconnection.sysventory.dto.NicDto;
import ch.rheintalconnection.sysventory.dto.OperatingSystemDto;
import ch.rheintalconnection.sysventory.dto.PrinterConfigurationDto;
import ch.rheintalconnection.sysventory.dto.PrinterDto;
import ch.rheintalconnection.sysventory.dto.ProcessorDto;
import ch.rheintalconnection.sysventory.dto.ProgramDto;

public class HostScannerMock implements IHostScanner {

	public NicDto scanNic() {
		return new NicDto(" 192.168.0.100 fe80::30dc:8b45:2b65:5d77", "Intel(R) Centrino(R) Advanced-N 6205 #2", " 192.168.0.1", "08:11:96:EC:CF:6C", "192.168.0.1", " 255.255.255.0 64");
	}

	public List<ProgramDto> scanPrograms() {
		List<ProgramDto> programs = new ArrayList<ProgramDto>();
		programs.add(new ProgramDto("Adobe Flash Player 10 ActiveX", "null"));
		programs.add(new ProgramDto("Microsoft Help Viewer 1.0 Language Pack - DEU", "1.0.30319"));
		return programs;
	}

	public ProcessorDto scanProcessor() {
		
		return new ProcessorDto("Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz", "198", "4", "2001");
	}

	public List<PrinterDto> scanPrinters() {
		
		List<PrinterDto> printers = new ArrayList<PrinterDto>();
		printers.add(new PrinterDto("Snagit 9", "Snagit 9 Printer"));
		printers.add(new PrinterDto("PDF-XChange 3.0", "PDF-XChange 3.0"));
		return printers;
	}
	
	public List<PrinterConfigurationDto> scanPrinterConfigurations() {

		List<PrinterConfigurationDto> printerConfigurations = new ArrayList<PrinterConfigurationDto>();
		printerConfigurations.add(new PrinterConfigurationDto("1536"));
		printerConfigurations.add(new PrinterConfigurationDto("848"));
		return printerConfigurations;
	}

	public OperatingSystemDto scanOperatingSystem() {
		
		return new OperatingSystemDto("Microsoft Windows 7 Professional", "6.1.7601", "64-Bit");
	}

	public LogicalDiskDto scanLogicalDisk() {
		
		return new LogicalDiskDto("499784462336", "410171797504");
	}

	public ComputerDto scanComputer() {
		
		return new ComputerDto("WIN7-NB05", "4242915328", "2");
	}

	
	
	

}
